/* 响应式布局 */
@media (max-width: 1200px) {
    #News_body {
        width: 95%;
    }

    .News_Navigation ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .News_Navigation li {
        margin: 10px 20px;
    }
}

@media (max-width: 768px) {
    .News_header img {
        width: 90%;
        height: auto;
    }

    #News_body {
        height: auto;
        padding: 10px;
    }

    .Content {
        height: auto;
        overflow: visible;
        white-space: normal;
    }

    .box {
        height: auto;
        padding: 10px;
    }

    .box p, .box span {
        margin-top: 5px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .News_Navigation a {
        font-size: 18px;
    }

    .box p, .box span {
        font-size: 0.9rem;
    }
}



* {
/* 	background-color: #00aaff; */
	font-family: cute;
}

@font-face {
	font-family: sgsz;
	src: url(../Fonts/二字元时光手账简繁.ttf);
}

@font-face {
	font-family: cute;
	src: url(../Fonts/cute.ttf);
}

header {
	width: 100%;
	height: 80px;
}

header img {
	width: 15.125rem;
	float: left;
}

body{
	background-image: linear-gradient(to top, #fff1eb 0%, #ace0f9 100%);
}

.News_header {
	height: 150px;
	display: flex;
	margin: 0 auto;
}

.News_header img {
	width: 380px;
	height: 140px;
	margin: 0 auto;
}

#News_body {
	width: 55.625rem;
	height: 550px;
	background-image: linear-gradient(to top, #accbee 0%, #e7f0fd 100%);
	margin: 0 auto;
}

.News_Navigation {
	display: flex;
	justify-content: center;
	/* 水平居中 */
	align-items: center;
	/* 垂直居中 */
	padding: 12px;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.News_Navigation ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	display: flex;
}

.News_Navigation li {
	margin-right: 95px;
	transition: all 0.3s ease-in-out;
	/* 添加切换过渡动画效果 */
}

.News_Navigation a {
	font-size: 23px;
	color: #303030;
	text-decoration: none;
}

/* 鼠标悬停时改变导航栏样式 */
.News_Navigation li:hover {
	transform: scale(1.2);

	/* 添加悬停时的缩放效果，使导航项稍微放大 */
}

/* 指定当前活动项样式 */
.News_Navigation li.active {
	color: #ffcc00;
}


.Content {
	width: 100%;
	height: 28rem;
	margin-top: 0.3125rem;
	border-radius: 10px;
/* 	background: linear-gradient(to bottom right, #00a0f0, #aaffff, #00e8e8, #3878ad); */
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.skynews {
	height: 450px;
	overflow-y: scroll;
}

.box {
	width: 95%;
	height: 100px;
	transition: transform 0.3s ease-in-out;
	margin-bottom: 15px;
	border-radius: 5px;

}

.box p {
	margin-top: 33px;
	float: left;
	font-size: 1.25rem;
}

a {
	text-decoration: none;
	color: #000000;

}

.box span {
	margin-top: 33px;
	font-size: 1.25rem;
	float: right;
}

.box:hover {
	transform: translateX(10px);
	box-shadow: 0 0 8px rgba(71, 71, 71, 0.3);
}

/* 下面是展示盒子 */
#Exhibit {
	width: 100%;
	height: 32rem;
	margin-top: 650px;
	padding: 10px;
}

.container {
	grid-template-columns: repeat(5, 1fr);
	grid-gap: 15px;
	/* 可调整盒子之间的间距 */
	display: flex;
	flex-wrap: wrap;
	list-style-type: none;
	padding: 0;
	margin-top: -5px;


}

